package com.jeff.tianti.cms.service;

import com.jeff.tianti.cms.dto.font.PageBeanUid;
import com.jeff.tianti.cms.entity.ConsultCompliance;
import com.jeff.tianti.cms.entity.CourseCounsel;
import com.jeff.tianti.cms.dao.CourseCounselDao;
import com.jeff.tianti.cms.dto.CourseCounselQueryDTO;
import com.jeff.tianti.common.service.CommonService;
import com.jeff.tianti.common.entity.PageModel;
import org.springframework.stereotype.Service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
/**
 * @author xujianfang
 * @desc CourseCounselService�� 
 * @date 2019-07-04
 */
@Service
public class CourseCounselService extends CommonService< CourseCounsel,String >  {

    @Autowired
    private CourseCounselDao courseCounselDao;

    @Autowired
    public void setCourseCounselDao(CourseCounselDao courseCounselDao){
      super.setCommonDao(courseCounselDao);
    }

    public PageModel<CourseCounsel> queryCourseCounselPage(CourseCounselQueryDTO courseCounselQueryDTO){
           return this.courseCounselDao.queryCourseCounselPage(courseCounselQueryDTO);
    }

    public List<CourseCounsel> queryCourseCounselList(CourseCounselQueryDTO courseCounselQueryDTO){
           return this.courseCounselDao.queryCourseCounselList(courseCounselQueryDTO);
    }

    public PageModel<CourseCounsel> findByUid(PageBeanUid pageBean) {
        return this.courseCounselDao.findByUid(pageBean);
    }
}